package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车牌进出场信息对象 tz_car_io_log
 * 
 * @author lmj
 * @date 2024-12-07
 */
public class TzCarIoLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 车牌类型 */
    @Excel(name = "车牌类型")
    private String noType;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carType;

    /** 入场车牌 */
    @Excel(name = "入场车牌")
    private String inNo;

    /** 出场车牌 */
    @Excel(name = "出场车牌")
    private String outNo;

    /** 停车区域 */
    @Excel(name = "停车区域")
    private String stopArea;

    /** 是否访客 */
    @Excel(name = "是否访客")
    private String visitStatus;

    /** 出场类型 */
    @Excel(name = "出场类型")
    private String outType;

    /** 用户信息 */
    @Excel(name = "用户信息")
    private String userInfo;

    /** 入口通道 */
    @Excel(name = "入口通道")
    private String inChannel;

    /** 出口通道 */
    @Excel(name = "出口通道")
    private String outChannel;

    /** 入场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "入场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inTime;

    /** 出场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "出场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outTime;

    /** 单次累计时间（分钟） */
    @Excel(name = "单次累计时间", readConverterExp = "分=钟")
    private Long singleTime;

    /**
     * 时间显示
     */
    private String singleTimeStr;

    public String getSingleTimeStr() {
        return singleTimeStr;
    }

    public void setSingleTimeStr(String singleTimeStr) {
        this.singleTimeStr = singleTimeStr;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setNoType(String noType) 
    {
        this.noType = noType;
    }

    public String getNoType() 
    {
        return noType;
    }

    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }

    public void setInNo(String inNo) 
    {
        this.inNo = inNo;
    }

    public String getInNo() 
    {
        return inNo;
    }

    public void setOutNo(String outNo) 
    {
        this.outNo = outNo;
    }

    public String getOutNo() 
    {
        return outNo;
    }

    public void setStopArea(String stopArea) 
    {
        this.stopArea = stopArea;
    }

    public String getStopArea() 
    {
        return stopArea;
    }

    public void setVisitStatus(String visitStatus) 
    {
        this.visitStatus = visitStatus;
    }

    public String getVisitStatus() 
    {
        return visitStatus;
    }

    public void setOutType(String outType) 
    {
        this.outType = outType;
    }

    public String getOutType() 
    {
        return outType;
    }

    public void setUserInfo(String userInfo) 
    {
        this.userInfo = userInfo;
    }

    public String getUserInfo() 
    {
        return userInfo;
    }

    public void setInChannel(String inChannel) 
    {
        this.inChannel = inChannel;
    }

    public String getInChannel() 
    {
        return inChannel;
    }

    public void setOutChannel(String outChannel) 
    {
        this.outChannel = outChannel;
    }

    public String getOutChannel() 
    {
        return outChannel;
    }

    public void setInTime(Date inTime) 
    {
        this.inTime = inTime;
    }

    public Date getInTime() 
    {
        return inTime;
    }

    public void setOutTime(Date outTime) 
    {
        this.outTime = outTime;
    }

    public Date getOutTime() 
    {
        return outTime;
    }

    public void setSingleTime(Long singleTime) 
    {
        this.singleTime = singleTime;
    }

    public Long getSingleTime() 
    {
        return singleTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("noType", getNoType())
            .append("carType", getCarType())
            .append("inNo", getInNo())
            .append("outNo", getOutNo())
            .append("stopArea", getStopArea())
            .append("visitStatus", getVisitStatus())
            .append("outType", getOutType())
            .append("userInfo", getUserInfo())
            .append("inChannel", getInChannel())
            .append("outChannel", getOutChannel())
            .append("inTime", getInTime())
            .append("outTime", getOutTime())
            .append("singleTime", getSingleTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
